package com.zhenmyan.secdeal.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * description:
 *
 * @author 颜真明
 * @date 2023/5/11  6:48
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_secdeal_order")
public class SecDealOrder implements Serializable {

    @ApiModelProperty("秒杀订单ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID **/
    @ApiModelProperty("用户ID")
    private Long userId;

    /** 订单ID **/
    @ApiModelProperty("订单ID")
    private Long orderId;

    /** 商品ID **/
    @ApiModelProperty("商品ID")
    private Long goodsId;

}
